﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.AM
{
    /// <summary>
    /// 资产表
    /// </summary>
    [Table("AM_AssetItem")]
    public partial class AM_AssetItem
    {

        /// <summary>
        /// ID
        /// </summary>
        public Int32? ID { get; set; }

        /// <summary>
        /// ItemId
        /// </summary>
        [Key, Column(Order = 2)]
        public Int32 ItemId { get; set; }

        /// <summary>
        /// 资产ID
        /// </summary>
        public Int32? ParentID { get; set; }

        /// <summary>
        /// 资产二维码
        /// </summary>
        public String AssetQrCode { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public Int32? Qty { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 是否作废 0正常 1报废
        /// </summary>
        public Boolean? IsScrap { get; set; }

        /// <summary>
        /// 资产编码
        /// </summary>
        public String AssetCode { get; set; }

        /// <summary>
        /// 资产名称
        /// </summary>
        public String AssetName { get; set; }

        /// <summary>
        /// 资产类型ID
        /// </summary>
        public Int32? AssetTypeId { get; set; }

        /// <summary>
        /// 资产分类ID
        /// </summary>
        public Int32? AssetCategoryId { get; set; }

        /// <summary>
        /// 资产规格型号
        /// </summary>
        public String AssetSpec { get; set; }

        /// <summary>
        /// 资产位置
        /// </summary>
        public String AssetPosition { get; set; }

        /// <summary>
        /// 资产状态
        /// </summary>
        public String Status { get; set; }

        /// <summary>
        /// 是否处置 0正常 1处置
        /// </summary>
        public Boolean? IsDisposal { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public Double? Price { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public Double? Amount { get; set; }

        /// <summary>
        /// 负责部门
        /// </summary>
        public String ResponsibleDept { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public String Custodian { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public String PhoneNumber { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }

        /// <summary>
        /// 采购日期
        /// </summary>
        public DateTime? PurchaseDate { get; set; }

        /// <summary>
        /// 提交状态：0=草稿；1＝提交；
        /// </summary>
        public Int64? OperationStatus { get; set; }

        /// <summary>
        /// FGC_CreateDate
        /// </summary>
        public DateTime? FGC_CreateDate { get; set; }

        /// <summary>
        /// FGC_LastModifier
        /// </summary>
        public String FGC_LastModifier { get; set; }

        /// <summary>
        /// FGC_LastModifyDate
        /// </summary>
        public DateTime? FGC_LastModifyDate { get; set; }

        /// <summary>
        /// FGC_Creator
        /// </summary>
        public String FGC_Creator { get; set; }

        /// <summary>
        /// FGC_UpdateHelp
        /// </summary>
        public String FGC_UpdateHelp { get; set; }

        /// <summary>
        /// FGC_Rowversion
        /// </summary>
        public String FGC_Rowversion { get; set; }

    }
}